package aupdg.presentation.adapter;

import aupdg.data.model.Edge;
import aupdg.data.model.Ldg;
import aupdg.data.model.Node;
import edu.uci.ics.jung.graph.DirectedGraph;

/**
 * Contract for generating a directed graph which represents an LDG object.
 *
 * @author AA and CJ
 */
public interface LdgToDirectedGraph {

    /**
     * Generates a directed graph from an LDG object.
     *
     * @param ldg
     * @return
     */
    public DirectedGraph<Node, Edge> convert(Ldg ldg);
}
